package com.yckj.activechicken.business.purchase.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PurApplyGoodsBillExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PurApplyGoodsBillExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPurApplyGoodsIdIsNull() {
            addCriterion("pur_apply_goods_id is null");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdIsNotNull() {
            addCriterion("pur_apply_goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdEqualTo(String value) {
            addCriterion("pur_apply_goods_id =", value, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdNotEqualTo(String value) {
            addCriterion("pur_apply_goods_id <>", value, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdGreaterThan(String value) {
            addCriterion("pur_apply_goods_id >", value, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdGreaterThanOrEqualTo(String value) {
            addCriterion("pur_apply_goods_id >=", value, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdLessThan(String value) {
            addCriterion("pur_apply_goods_id <", value, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdLessThanOrEqualTo(String value) {
            addCriterion("pur_apply_goods_id <=", value, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdLike(String value) {
            addCriterion("pur_apply_goods_id like", value, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdNotLike(String value) {
            addCriterion("pur_apply_goods_id not like", value, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdIn(List<String> values) {
            addCriterion("pur_apply_goods_id in", values, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdNotIn(List<String> values) {
            addCriterion("pur_apply_goods_id not in", values, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdBetween(String value1, String value2) {
            addCriterion("pur_apply_goods_id between", value1, value2, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurApplyGoodsIdNotBetween(String value1, String value2) {
            addCriterion("pur_apply_goods_id not between", value1, value2, "purApplyGoodsId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdIsNull() {
            addCriterion("pur_main_id is null");
            return (Criteria) this;
        }

        public Criteria andPurMainIdIsNotNull() {
            addCriterion("pur_main_id is not null");
            return (Criteria) this;
        }

        public Criteria andPurMainIdEqualTo(String value) {
            addCriterion("pur_main_id =", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdNotEqualTo(String value) {
            addCriterion("pur_main_id <>", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdGreaterThan(String value) {
            addCriterion("pur_main_id >", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdGreaterThanOrEqualTo(String value) {
            addCriterion("pur_main_id >=", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdLessThan(String value) {
            addCriterion("pur_main_id <", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdLessThanOrEqualTo(String value) {
            addCriterion("pur_main_id <=", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdLike(String value) {
            addCriterion("pur_main_id like", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdNotLike(String value) {
            addCriterion("pur_main_id not like", value, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdIn(List<String> values) {
            addCriterion("pur_main_id in", values, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdNotIn(List<String> values) {
            addCriterion("pur_main_id not in", values, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdBetween(String value1, String value2) {
            addCriterion("pur_main_id between", value1, value2, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurMainIdNotBetween(String value1, String value2) {
            addCriterion("pur_main_id not between", value1, value2, "purMainId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdIsNull() {
            addCriterion("pur_apply_id is null");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdIsNotNull() {
            addCriterion("pur_apply_id is not null");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdEqualTo(String value) {
            addCriterion("pur_apply_id =", value, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdNotEqualTo(String value) {
            addCriterion("pur_apply_id <>", value, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdGreaterThan(String value) {
            addCriterion("pur_apply_id >", value, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdGreaterThanOrEqualTo(String value) {
            addCriterion("pur_apply_id >=", value, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdLessThan(String value) {
            addCriterion("pur_apply_id <", value, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdLessThanOrEqualTo(String value) {
            addCriterion("pur_apply_id <=", value, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdLike(String value) {
            addCriterion("pur_apply_id like", value, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdNotLike(String value) {
            addCriterion("pur_apply_id not like", value, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdIn(List<String> values) {
            addCriterion("pur_apply_id in", values, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdNotIn(List<String> values) {
            addCriterion("pur_apply_id not in", values, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdBetween(String value1, String value2) {
            addCriterion("pur_apply_id between", value1, value2, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andPurApplyIdNotBetween(String value1, String value2) {
            addCriterion("pur_apply_id not between", value1, value2, "purApplyId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(String value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(String value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(String value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(String value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(String value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(String value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLike(String value) {
            addCriterion("goods_id like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotLike(String value) {
            addCriterion("goods_id not like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<String> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<String> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(String value1, String value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(String value1, String value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberIsNull() {
            addCriterion("goods_number is null");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberIsNotNull() {
            addCriterion("goods_number is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberEqualTo(String value) {
            addCriterion("goods_number =", value, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberNotEqualTo(String value) {
            addCriterion("goods_number <>", value, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberGreaterThan(String value) {
            addCriterion("goods_number >", value, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberGreaterThanOrEqualTo(String value) {
            addCriterion("goods_number >=", value, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberLessThan(String value) {
            addCriterion("goods_number <", value, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberLessThanOrEqualTo(String value) {
            addCriterion("goods_number <=", value, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberLike(String value) {
            addCriterion("goods_number like", value, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberNotLike(String value) {
            addCriterion("goods_number not like", value, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberIn(List<String> values) {
            addCriterion("goods_number in", values, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberNotIn(List<String> values) {
            addCriterion("goods_number not in", values, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberBetween(String value1, String value2) {
            addCriterion("goods_number between", value1, value2, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andGoodsNumberNotBetween(String value1, String value2) {
            addCriterion("goods_number not between", value1, value2, "goodsNumber");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNull() {
            addCriterion("total_price is null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNotNull() {
            addCriterion("total_price is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceEqualTo(String value) {
            addCriterion("total_price =", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotEqualTo(String value) {
            addCriterion("total_price <>", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThan(String value) {
            addCriterion("total_price >", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanOrEqualTo(String value) {
            addCriterion("total_price >=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThan(String value) {
            addCriterion("total_price <", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanOrEqualTo(String value) {
            addCriterion("total_price <=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLike(String value) {
            addCriterion("total_price like", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotLike(String value) {
            addCriterion("total_price not like", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIn(List<String> values) {
            addCriterion("total_price in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotIn(List<String> values) {
            addCriterion("total_price not in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceBetween(String value1, String value2) {
            addCriterion("total_price between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotBetween(String value1, String value2) {
            addCriterion("total_price not between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andUsedDesIsNull() {
            addCriterion("used_des is null");
            return (Criteria) this;
        }

        public Criteria andUsedDesIsNotNull() {
            addCriterion("used_des is not null");
            return (Criteria) this;
        }

        public Criteria andUsedDesEqualTo(String value) {
            addCriterion("used_des =", value, "usedDes");
            return (Criteria) this;
        }

        public Criteria andUsedDesNotEqualTo(String value) {
            addCriterion("used_des <>", value, "usedDes");
            return (Criteria) this;
        }

        public Criteria andUsedDesGreaterThan(String value) {
            addCriterion("used_des >", value, "usedDes");
            return (Criteria) this;
        }

        public Criteria andUsedDesGreaterThanOrEqualTo(String value) {
            addCriterion("used_des >=", value, "usedDes");
            return (Criteria) this;
        }

        public Criteria andUsedDesLessThan(String value) {
            addCriterion("used_des <", value, "usedDes");
            return (Criteria) this;
        }

        public Criteria andUsedDesLessThanOrEqualTo(String value) {
            addCriterion("used_des <=", value, "usedDes");
            return (Criteria) this;
        }

        public Criteria andUsedDesLike(String value) {
            addCriterion("used_des like", value, "usedDes");
            return (Criteria) this;
        }

        public Criteria andUsedDesNotLike(String value) {
            addCriterion("used_des not like", value, "usedDes");
            return (Criteria) this;
        }

        public Criteria andUsedDesIn(List<String> values) {
            addCriterion("used_des in", values, "usedDes");
            return (Criteria) this;
        }

        public Criteria andUsedDesNotIn(List<String> values) {
            addCriterion("used_des not in", values, "usedDes");
            return (Criteria) this;
        }

        public Criteria andUsedDesBetween(String value1, String value2) {
            addCriterion("used_des between", value1, value2, "usedDes");
            return (Criteria) this;
        }

        public Criteria andUsedDesNotBetween(String value1, String value2) {
            addCriterion("used_des not between", value1, value2, "usedDes");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdIsNull() {
            addCriterion("store_entity_id is null");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdIsNotNull() {
            addCriterion("store_entity_id is not null");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdEqualTo(Integer value) {
            addCriterion("store_entity_id =", value, "storeEntityId");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdNotEqualTo(Integer value) {
            addCriterion("store_entity_id <>", value, "storeEntityId");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdGreaterThan(Integer value) {
            addCriterion("store_entity_id >", value, "storeEntityId");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("store_entity_id >=", value, "storeEntityId");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdLessThan(Integer value) {
            addCriterion("store_entity_id <", value, "storeEntityId");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdLessThanOrEqualTo(Integer value) {
            addCriterion("store_entity_id <=", value, "storeEntityId");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdIn(List<Integer> values) {
            addCriterion("store_entity_id in", values, "storeEntityId");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdNotIn(List<Integer> values) {
            addCriterion("store_entity_id not in", values, "storeEntityId");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdBetween(Integer value1, Integer value2) {
            addCriterion("store_entity_id between", value1, value2, "storeEntityId");
            return (Criteria) this;
        }

        public Criteria andStoreEntityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("store_entity_id not between", value1, value2, "storeEntityId");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeIsNull() {
            addCriterion("expect_get_time is null");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeIsNotNull() {
            addCriterion("expect_get_time is not null");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeEqualTo(Date value) {
            addCriterion("expect_get_time =", value, "expectGetTime");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeNotEqualTo(Date value) {
            addCriterion("expect_get_time <>", value, "expectGetTime");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeGreaterThan(Date value) {
            addCriterion("expect_get_time >", value, "expectGetTime");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("expect_get_time >=", value, "expectGetTime");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeLessThan(Date value) {
            addCriterion("expect_get_time <", value, "expectGetTime");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeLessThanOrEqualTo(Date value) {
            addCriterion("expect_get_time <=", value, "expectGetTime");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeIn(List<Date> values) {
            addCriterion("expect_get_time in", values, "expectGetTime");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeNotIn(List<Date> values) {
            addCriterion("expect_get_time not in", values, "expectGetTime");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeBetween(Date value1, Date value2) {
            addCriterion("expect_get_time between", value1, value2, "expectGetTime");
            return (Criteria) this;
        }

        public Criteria andExpectGetTimeNotBetween(Date value1, Date value2) {
            addCriterion("expect_get_time not between", value1, value2, "expectGetTime");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusIsNull() {
            addCriterion("urgent_status is null");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusIsNotNull() {
            addCriterion("urgent_status is not null");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusEqualTo(String value) {
            addCriterion("urgent_status =", value, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusNotEqualTo(String value) {
            addCriterion("urgent_status <>", value, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusGreaterThan(String value) {
            addCriterion("urgent_status >", value, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusGreaterThanOrEqualTo(String value) {
            addCriterion("urgent_status >=", value, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusLessThan(String value) {
            addCriterion("urgent_status <", value, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusLessThanOrEqualTo(String value) {
            addCriterion("urgent_status <=", value, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusLike(String value) {
            addCriterion("urgent_status like", value, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusNotLike(String value) {
            addCriterion("urgent_status not like", value, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusIn(List<String> values) {
            addCriterion("urgent_status in", values, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusNotIn(List<String> values) {
            addCriterion("urgent_status not in", values, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusBetween(String value1, String value2) {
            addCriterion("urgent_status between", value1, value2, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andUrgentStatusNotBetween(String value1, String value2) {
            addCriterion("urgent_status not between", value1, value2, "urgentStatus");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}